package com.yoyo.schedule.strategy;

import lombok.Getter;
import lombok.Setter;

public class Strategy {

    //
    @Setter
    @Getter
    private String strategyName;
    /**
     * Schedule Name,Class Name,SpringBean Name
     */
    @Setter
    @Getter
    private Kind kind;
    //

    @Setter
    @Getter
    private String taskName;

    @Setter
    @Getter
    private String taskParameter;

    //
    public static String status_pause = "pause";
    public static String status_resume = "resume";
    @Setter
    @Getter
    private String status = status_resume;

    @Setter
    @Getter
    private int maxThreadNumPerJvm;//maxThreadGroupNum

    @Setter
    @Getter
    private int maxThreadGroupNum;//
    @Setter
    @Getter
    private String[] ipList;
}
